Here is a list of manual tests you can check when making changes to the Perspectives Firefox extension. If any of these are easily automatable feel free to add cases for them in test.html instead.


Remember: the Perspectives client extension supports multiple browsers. Remember to test it in:

- Firefox
- SeaMonkey


UI
--
- Each of the Perspectives dialog windows can be opened:
	- 'View Notary Results'
	- 'Report Attack'
	- 'Add to Whitelist'
	- 'Preferences'
	- 'View Certificate Store'
	- 'Help'

- Each winow closes without saving changes if the user clicks on the Cancel button
- Each winow closes without saving changes if the user presses the Esc key
- Each window is centered on the screen (except 'View Certificate Store')
- Each window displays the Perspectives icon if the user presses alt-tab to change windows
	- Except 'View Certificate Store', which displays the Firefox icon


'Report Attack' tests:
  Should NOT let you send a report for:
    - HTTP website
    - HTTPS website, before Perspectives has finished querying
    - Invalid URL, such as 'aaa' or blank
    - file:// URL

  *Should* let you send a report for:
    - HTTPS website, after Perspectives has finished querying


'Add To Whitelist' tests:
- Try the same page types as above; all non-https pages should be rejected as invalid URLs


Preferences:
- Quorum Percentage must be <= 100
- Quorum Percentage must be >= 1
- Quorum Duration must be >= 1
- Both Quorum Percentage and Duration must be integers



Toolbar Button
--------------
- If the profile/user has never had Perspectives installed before, installing it adds a toolbar button left of the location bar on restart
- After installing, the toolbar button is movable
- If the profile/user uninstalls and then reinstalls Perspectives, it remembers their toolbar button location
- If the profile/user upgrades Perspectives without uninstalling, it remembers their toolbar button location
x If the profile/user changes their Toolbar to show Text or Icons and Text, the toolbar changes appropriately (FIXME - doesn't currently display text; 
	https://github.com/danwent/Perspectives/issues/44 )


